﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CsharpTrainer.Linq.Service.Northwind;
using CsharpTrainer.Linq.Model;
using Zeus.Thunder.Core;

namespace SharpTrainer.Linq
{
    class GetEmployeeOrderTest : ITestCase
    {
        public void Run()
        {
            EmployeeOrderService service = new EmployeeOrderService();
            IList<EmployeeOrder> employeeOrders = service.GetEmployeeOrdersByTitle("Sales Manager");

            foreach (EmployeeOrder empOrder in employeeOrders)
            {
                Console.WriteLine(empOrder);
            }
        }
    }
}
